// Copyright Epic Games, Inc. All Rights Reserved.
 
using UnrealBuildTool;
using System.Collections.Generic;
 
[SupportedPlatforms(UnrealPlatformClass.Server)]  // 指定支持的平台为服务器平台
public class LyraServerTarget : TargetRules
{
	public LyraServerTarget(TargetInfo Target) : base(Target)
	{
		Type = TargetType.Server;                   // 指定为目标类型为服务器
		DefaultBuildSettings = BuildSettingsVersion.V2;
		IncludeOrderVersion = EngineIncludeOrderVersion.Latest;
 
		ExtraModuleNames.AddRange(new string[] { "LyraGame" });
 
		LyraGameTarget.ApplySharedLyraTargetSettings(this);
 
		bUseChecksInShipping = true;  // 在Shipping构建中也使用检查
	}
}